﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FazaDemo.PL.Wpf
{
    class TabIndexFactory
    {

        public int Get(string tabName)
        {
            if (tabName == "district")
            {
                return 0;
            }
            if (tabName == "place")
            {
                return 1;
            }
            if (tabName == "street")
            {
                return 2;
            }
            return -1;
        }

    }
}
